<?php

require_once '../system/init.php';

$id = $_GET['userId'];
$userinfo = FS::getUserInfo($id, $_GET['hash']);

header('Content-type: application/json');
echo json_encode($userinfo);
